import React, { Component } from 'react'
import { Link } from 'react-router-dom'
// import './style.css'
import img404 from './404.jpg'

export class NotFount extends Component {
  render() {
    return (
      <div>
        <img src={img404} alt=''/>
        <h1>你要找的页面没有找到</h1>
        <p>还有3秒返回主页</p>
        <script>await sleep(3000)</script>
        <p><Link to='/home'>去首页</Link></p>
      </div>
    )
  }
}

export default NotFount